#ifndef ADDCATEGORY_H
#define ADDCATEGORY_H

#include <QMainWindow>
#include"db_class.h"
#include"catselect.h"

namespace Ui {
    class AddCategory;
}

class AddCategory : public QMainWindow
{
    Q_OBJECT

public:
    explicit AddCategory(QString cat,QWidget *parent = 0);
    ~AddCategory();

private:
    Ui::AddCategory *ui;
    db_class db;
    QString catnm;

private slots:
    void on_pushButton_clicked();
    void back();
};

#endif // ADDCATEGORY_H
